/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconHelp: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M512 768a48 48 0 1 1 0 96 48 48 0 0 1 0-96z m0-608c122.336 0 222.624 87.872 222.624 215.648 0 67.904-47.104 133.024-109.824 169.568l-13.504 7.392-20.608 11.04-7.232 4c-27.936 15.776-37.664 25.6-38.848 38.304l-0.096 2.784-0.288 69.056-0.16 2.368 0.384 0.128c0.096 0.032 0.128 0.16 0.096 0.352l-0.832 1.696-5.44 8.256-9.696 14.08-15.072 4.48-15.904-3.52-8.704-6.528-2.336-2.752-3.392-5.888-0.96-1.984-0.544-1.6-1.056-4.48-0.448-4.768-0.128-3.776c-0.256-0.032-0.288-0.224-0.128-0.672l0.096-0.352c0-1.44 0-2.688 0.16-3.904l0.192-1.536 0.128-30.72v-27.936c0-41.408 21.184-67.04 64.48-92.768l14.976-8.448 27.488-14.72c47.264-25.472 83.2-73.28 83.2-117.152C670.624 285.248 600.736 224 512 224c-79.808 0-160 66.656-160 128a32 32 0 0 1-64 0c0-99.584 111.2-192 224-192z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconHelp.defaultProps = {
  size: 18,
};

export default IconHelp;
